import { axios } from '@/utils/request'

/**
 * 查询其他出库
 *
 * @author Eric
 * @date 2021-04-23 16:52:23
 */
export function outboundOtherPage (parameter) {
  return axios({
    url: '/outboundOther/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 其他出库列表
 *
 * @author Eric
 * @date 2021-04-23 16:52:23
 */
export function outboundOtherList (parameter) {
  return axios({
    url: '/outboundOther/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加其他出库
 *
 * @author Eric
 * @date 2021-04-23 16:52:23
 */
export function outboundOtherAdd (parameter) {
  return axios({
    url: '/outboundOther/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑其他出库
 *
 * @author Eric
 * @date 2021-04-23 16:52:23
 */
export function outboundOtherEdit (parameter) {
  return axios({
    url: '/outboundOther/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除其他出库
 *
 * @author Eric
 * @date 2021-04-23 16:52:23
 */
export function outboundOtherDelete (parameter) {
  return axios({
    url: '/outboundOther/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 查询其他出库详情
 *
 * @author Eric
 * @date 2021-04-04 08:55:37
 */
export function outboundOtherDetail (code) {
  return axios({
    url: '/outboundOther/detail',
    method: 'get',
    params: { outboundCode: code }
  })
}
